package  
{
	import org.flixel.FlxG;
	import org.flixel.FlxParticle;
	
	//http://forums.flixel.org/index.php?topic=5315.0
	public class FadingParticle extends FlxParticle 
	{		
		public function FadingParticle() 
		{
			super();
		}
		
		override public function update():void
		{
			super.update();
			if (this.alpha <= 0)
			{
				kill();
			}
			else
			{
				this.alpha -= FlxG.elapsed;
			}
		}
	}

}